﻿using AutoMapper;

namespace EMall.ProductService.Categories
{
    public class CategoryProfile : Profile
    {
        public CategoryProfile()
        {
            CreateMap<Category, CategoryDto>();
            CreateMap<Category, CategoryListDto>();
            CreateMap<Category, CategoryTree>();
        }
    }
}
